projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78eccd0
)
Fix an array overrun
author
Matthias Clasen
<mclasen@redhat.com>
Thu, 23 Jun 2016 19:46:45 +0000
(15:46 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Thu, 23 Jun 2016 19:47:47 +0000
(15:47 -0400)
When I introduced the new input source enum value for
track points, I forgot that there is a fixed-size array
with names for those in the inspector.
gtk/inspector/general.c
patch
|
blob
|
history
diff --git
a/gtk/inspector/general.c
b/gtk/inspector/general.c
index 04bdbad26a36c308ab45067b783687171dc06dd0..31dd6aac9e26720a4ddcf653b2499300521a2f46 100644
(file)
--- a/
gtk/inspector/general.c
+++ b/
gtk/inspector/general.c
@@
-474,7
+474,8
@@
add_device (GtkInspectorGeneral *gen,
"Cursor",
"Keyboard",
"Touchscreen",
- "Touchpad"
+ "Touchpad",
+ "Trackpoint"
};
name = gdk_device_get_name (device);